<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>添加城市</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__PUBLIC__/css/base.css"/>
    <script type="text/javascript" src="__ROOT__/data/ui/js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="__ROOT__/data/Validform_v5.1_min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/validate.js"></script>
    <jsconst/>
</head>
<body marginleft="10">
    <div class="now_path">
        <strong>您现在的位置：</strong>
        	修改城市
    </div>
    <form action="__CONTROL__/modify_exe" method="post" class='tujia'>
        <div id="tabs">
            <table class="table2">
                <tr>
                    <th>城市名称：</th>
                    <td><input type="text" name="cname" style="width:360px;" value='{$city.cname}' nullmsg="请输入城市名称！" datatype='*'/>
					<div class="Validform_checktip"></div>
					</td>
                </tr>
                <tr>
                    <th>状态：</th>
                    <td><input type="radio" name="status" value="1" <if value='$city.status eq 1 '> checked="checked"</if>/>开启&nbsp;&nbsp;
                        <input type="radio" name="status" value="0" <if value='$city.status eq 0 '> checked="checked"</if>/>暂停</td>
                </tr>
				<tr>
                    <th>上传缩略图：</th>
                    <td><upload limit='1' name='thumb' imagesize='150,150' />
					<empty value='{$city.thumb}'><noempty/>
						----》<img src='__ROOT__/{$city.thumb}' width='120' height='120'/>
					</empty>
					</td>
                </tr>
				<tr>
                    <th>上传搜索页图(950x100)</th>
                    <td><upload limit='1' name='searchimg' imagesize='950,150' text='上传搜索图'/>
					<empty value='{$city.searchimg}'><noempty/>
						----》<img src='__ROOT__/{$city.searchimg}' width='400' height='120'/>
					</empty>
					</td>
                </tr>
				<tr>
                    <th>排序：</th>
                    <td><input type="text" name="sort" value="0" errormsg="排序必须为数字！" datatype='n'/>
					<div class="Validform_checktip"></div></td>
                </tr>
                <tr>
                    <th>关键字：</th>
                    <td><input type="text" name="keywords" style="width:300px;"/></td>
                </tr>
                <tr>
                    <th>描述：</th>
                    <td><textarea style="height:60px;width:90%" name="descroption"></textarea></td>
                </tr>
            </table>
            <div style="padding-left:100px;">
			<input type='hidden' name='cid' value='{$hd.get.cid}' />
                <input type="submit" value="添加栏目" class="submit" id='submit'/>
            </div>
        </div>
    </form>
</body>
</html>
